package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxxx.server.pojo.Employee;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2020-09-07
 */
public interface EmployeeMapper extends BaseMapper<Employee> {


    List<Employee> queryAllEmp();

    List<Employee> queryEmpByName(String name);

    IPage<Employee> selectPageEmp(Page<?> page, String name);

    Integer getMaxId();

    List<String> selectAllNations();
}
